forum

home / developersection / forums / convert the given time into milliseconds using java

Convert the given time into milliseconds using Java

E E Cummings 2598 05-Oct-2013

I am trying to convert the time (hh:mm:ss) into milliseconds. How could i do it?

Is it right to use the following one?

hh * mm * ss * 1000;

But if the minute is 00 or second is 00, it gives 0.

How do I calculate this?


Updated on 05-Oct-2013
E E Cummings

Other


Message
Can you answer this question?

Answer

1 Answers

Liked By